package com.glela.order.model.request;

import java.util.List;

import com.glela.order.model.OrderDetail;
import com.glela.order.model.vo.order.UserRedPacketVo;
import com.glela.platform.model.request.RequestBaseModel;

/**
 * @author gaoweiqi
 * @2017年8月26日
 */
public class RequestOrderDetail extends RequestBaseModel {
	private static final long	serialVersionUID	= 3572291018705309787L;
	private List<OrderDetail>	orderDetailList;
	private int					cashCoin;									//现金币
	private int					balanceAmount;								//余额
	private String				payPwd;										//支付密码
	private int					promotionId;								//优惠劵id
	private UserRedPacketVo		redPacket;									//红包
	private Integer				payType;									//支付方式
	private Integer				memberDeliveryAddressId;					//用户配送地址id
	private Integer				deliveryWay;								//配送方式
	private Integer				isBill;										//是否开票
	private Integer				billType;									//开票类型
	private String				billHeader;									//开票抬头
	private String				billTaxpayerNo;								//纳税人识别号
	private String				remark;										//备注
	private String				parentOrderSn;								//父订单号码
	private String				token;										//重复提交验证
	private int					submitType;									//提交请求类型 0：正常提交；1：忽略失效赠品 默认0
	private String				orderDetailIds;										//orderDetailIds集合

	public String getParentOrderSn() {
		return parentOrderSn;
	}

	public void setParentOrderSn(String parentOrderSn) {
		this.parentOrderSn = parentOrderSn;
	}

	/** 现金币 */
	public int getCashCoin() {
		return cashCoin;
	}

	/** 现金币 */
	public void setCashCoin(int cashCoin) {
		this.cashCoin = cashCoin;
	}

	/** 余额 */
	public int getBalanceAmount() {
		return balanceAmount;
	}

	/** 支付密码 */
	public String getPayPwd() {
		return payPwd;
	}

	/** 优惠劵id */
	public int getPromotionId() {
		return promotionId;
	}

	/** 优惠劵id */
	public void setPromotionId(int promotionId) {
		this.promotionId = promotionId;
	}

	/** 红包 */
	public UserRedPacketVo getRedPacket() {
		return redPacket;
	}

	/** 红包 */
	public void setRedPacket(UserRedPacketVo redPacket) {
		this.redPacket = redPacket;
	}

	/** 支付方式 */
	public Integer getPayType() {
		return payType;
	}

	/** 支付方式 */
	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	/** 用户配送地址id */
	public Integer getMemberDeliveryAddressId() {
		return memberDeliveryAddressId;
	}

	/** 用户配送地址id */
	public void setMemberDeliveryAddressId(Integer memberDeliveryAddressId) {
		this.memberDeliveryAddressId = memberDeliveryAddressId;
	}

	/** 配送方式 */
	public Integer getDeliveryWay() {
		return deliveryWay;
	}

	/** 配送方式 */
	public void setDeliveryWay(Integer deliveryWay) {
		this.deliveryWay = deliveryWay;
	}

	/** 是否开票 */
	public Integer getIsBill() {
		return isBill;
	}

	/** 是否开票 */
	void setIsBill(Integer isBill) {
		this.isBill = isBill;
	}

	/** 开票类型 */
	public Integer getBillType() {
		return billType;
	}

	/** 开票类型 */
	void setBillType(Integer billType) {
		this.billType = billType;
	}

	/** 开票抬头 */
	public String getBillHeader() {
		return billHeader;
	}

	/** 开票抬头 */
	void setBillHeader(String billHeader) {
		this.billHeader = billHeader;
	}

	/** 纳税人识别号 */
	public String getBillTaxpayerNo() {
		return billTaxpayerNo;
	}

	/** 备注 */
	public String getRemark() {
		return remark;
	}

	/** 备注 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<OrderDetail> getOrderDetailList() {
		return orderDetailList;
	}

	public void setOrderDetailList(List<OrderDetail> orderDetailList) {
		this.orderDetailList = orderDetailList;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public void setBalanceAmount(int balanceAmount) {
		this.balanceAmount = balanceAmount;
	}

	public int getSubmitType() {
		return submitType;
	}

	public void setSubmitType(int submitType) {
		this.submitType = submitType;
	}

	public String getOrderDetailIds() {
		return orderDetailIds;
	}

	public void setOrderDetailIds(String orderDetailIds) {
		this.orderDetailIds = orderDetailIds;
	}
}
